package com.ramble.buildingservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.security.oauth2.client.OAuth2ClientContext;
import org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails;


/**
 * 调用其他微服务
 */
//@EnableOAuth2Sso
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class BuildingServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(BuildingServiceApplication.class, args);
    }

}
